import request from '@/utils/request.js'

export const reqGetWhiteList = (data) => request.get('/whiteList', { params: data })

export const reqChangeWhiteStatus = (id, data) => request.put('/whiteList/status/' + id, { params: data })
export const reqChangeWhiteDel = (id) => request.delete('/whiteList/' + id)

export const reqAddWhite = (data) => request.post('/whiteList', data)